package cn.sirun.com.fca.personal.center.view;

import com.tencent.cloud.iov.action.Action;
import com.tencent.cloud.iov.kernel.model.BaseResponse;

import cn.sirun.com.fca.account.model.base.SubmitPhoneResponse;
import cn.sirun.com.fca.account.model.register.RegisterSubmitResponse;
import cn.sirun.com.fca.personal.center.constant.PersonalCenterActionConst;
import cn.sirun.com.fca.personal.center.model.response.SubmitCodeResponse;

public interface ICaptchaView extends PersonalCenterActionConst {

    @Action(ACTION_CHANGE_ACCOUNT_RESEND_RESPONSE)
    void onChangeAccountResendResult(BaseResponse<SubmitPhoneResponse> response);

    @Action(ACTION_CHANGE_ACCOUNT_SUBMIT_CAPTCHA_RESPONSE)
    void onChangeAcccountSubmitCaptchaResult(BaseResponse<RegisterSubmitResponse> reponse);

    @Action(ACTION_SUBMIT_PHONE_PIN)
    void submitPhonePinResult(BaseResponse<RegisterSubmitResponse> reponse);

    @Action(ACTION_SUBMIT_VERIFY_CODE_PIN)
    void submitCodeVerifyResult(BaseResponse<SubmitCodeResponse> reponse);
}
